package cn.cheqi.recovery.api.vo;

import cn.cheqi.recovery.api.entity.Community;
import cn.cheqi.recovery.api.entity.Employee;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class EmployeeVO extends Employee {
    /**
     * 小区实体类
     */
    private Community community;
    private Integer page = 1;
    private Integer limit = 10;

    @Override
    public String toString() {
        return super.toString()+"EmployeeVO{" +
                "community=" + community +
                ", page=" + page +
                ", limit=" + limit +
                '}';
    }
}
